package com.yanqu.road.entity.log.cross;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_ck_douluodalu_kill", desc = "斗罗/封神世界击杀日志", autoSave = true, uploadCk = true, isCross = true)
public class LogDouLuoDaLuKill extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;

    @FieldTypeAnnotation(desc = "玩家id", isIndex = true)
    private long userId;

    @FieldTypeAnnotation(desc = "所在区域id")
    private int regionId;

    @FieldTypeAnnotation(desc = "击杀类型:1 魂兽  2 真人")
    private int killType;

    @FieldTypeAnnotation(desc = "目标id")
    private long targetId;

    @FieldTypeAnnotation(desc = "伤害")
    private long damage;

    @FieldTypeAnnotation(desc = "标记玩家id")
    private long markUserId;

    @FieldTypeAnnotation(desc = "标记时间")
    private long recordTime;

    @FieldTypeAnnotation(desc = "事件时间")
    private int eventTIme;

    @FieldTypeAnnotation(desc = "击杀时间")
    private int killTime;

    public LogDouLuoDaLuKill(int activityId, long userId, int regionId, int killType, long targetId, long damage, long markUserId, long recordTime, int eventTIme, int killTime) {
        this.activityId = activityId;
        this.userId = userId;
        this.regionId = regionId;
        this.killType = killType;
        this.targetId = targetId;
        this.damage = damage;
        this.markUserId = markUserId;
        this.recordTime = recordTime;
        this.eventTIme = eventTIme;
        this.killTime = killTime;
    }

    public long getUserId() {
        return userId;
    }

}
